package com.have.blog.web.dto;

import com.have.blog.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class WebNavigationBarDto extends BaseDto<WebNavigationBarDto> {

    @ApiModelProperty(value = "导航栏名称")
    private String name;

    @ApiModelProperty(value = "导航栏等级")
    private Integer navbarLevel;

    @ApiModelProperty(value = "简介")
    private String summary;

    @ApiModelProperty(value = "父导航栏UID")
    private Integer parentUid;

    @ApiModelProperty(value = "跳转链接")
    private String url;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "是否展示：0：不展示， 1：展示")
    private Integer isShow;

    @ApiModelProperty(value = "是否是外链：0：不是， 1：是")
    private Integer isJumpExternalUrl;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    private List<WebNavigationBarDto> childWebNavbar;
}
